namespace Matrix.ServiceDiscovery.Enums
{
    /// <summary>
    /// 健康检查类型枚举
    /// </summary>
    public enum HealthCheckType
    {
        /// <summary>
        /// 未指定类型
        /// </summary>
        None = 0,

        /// <summary>
        /// HTTP检查
        /// </summary>
        Http = 1,

        /// <summary>
        /// TCP检查
        /// </summary>
        Tcp = 2,

        /// <summary>
        /// HTTPS检查
        /// </summary>
        Https = 3,

        /// <summary>
        /// gRPC检查
        /// </summary>
        Grpc = 4,

        /// <summary>
        /// 心跳检查
        /// </summary>
        Heartbeat = 5,

        /// <summary>
        /// 数据库检查
        /// </summary>
        Database = 6,

        /// <summary>
        /// 缓存检查
        /// </summary>
        Cache = 7,

        /// <summary>
        /// 消息队列检查
        /// </summary>
        MessageQueue = 8,

        /// <summary>
        /// 脚本检查
        /// </summary>
        Script = 9,

        /// <summary>
        /// 自定义检查
        /// </summary>
        Custom = 10
    }
}